package com.itheima.tlias.mapper;

import com.itheima.tlias.dto.OperateLogDTO;
import com.itheima.tlias.entity.OperateLog;
import com.itheima.tlias.po.OperateLogPageParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OperateLogMapper {

    int insertLog(OperateLog log);

    List<OperateLogDTO> selectAllLog(@Param("p") OperateLogPageParam param);
}
